home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / main / snprintf.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-26  |  1.6 KB  |  45 lines

  1. /*
  2.    +----------------------------------------------------------------------+
  3.    | PHP version 4.0                                                      |
  4.    +----------------------------------------------------------------------+
  5.    | Copyright (c) 1997-2001 The PHP Group                                |
  6.    +----------------------------------------------------------------------+
  7.    | This source file is subject to version 2.02 of the PHP license,      |
  8.    | that is bundled with this package in the file LICENSE, and is        |
  9.    | available at through the world-wide-web at                           |
  10.    | http://www.php.net/license/2_02.txt.                                 |
  11.    | If you did not receive a copy of the PHP license and are unable to   |
  12.    | obtain it through the world-wide-web, please send a note to          |
  13.    | license@php.net so we can mail you a copy immediately.               |
  14.    +----------------------------------------------------------------------+
  15.    | Authors: Stig Sæther Bakken <ssb@guardian.no>                        |
  16.    +----------------------------------------------------------------------+
  17.  */
  18.  
  19. #ifndef SNPRINTF_H
  20. #define SNPRINTF_H
  21.  
  22. #ifndef HAVE_SNPRINTF
  23. extern int ap_php_snprintf(char *, size_t, const char *, ...);
  24. #define snprintf ap_php_snprintf
  25. #endif
  26.  
  27. #ifndef HAVE_VSNPRINTF
  28. extern int ap_php_vsnprintf(char *, size_t, const char *, va_list ap);
  29. #define vsnprintf ap_php_vsnprintf
  30. #endif
  31.  
  32. #if PHP_BROKEN_SPRINTF
  33. int php_sprintf (char* s, const char* format, ...);
  34. #define sprintf php_sprintf
  35. #endif
  36.  
  37. #endif /* SNPRINTF_H */
  38.  
  39. /*
  40.  * Local variables:
  41.  * tab-width: 4
  42.  * c-basic-offset: 4
  43.  * End:
  44.  */
  45.